﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FunctionPoint.Common
{
    public class WorkItemEqualityComparer: IEqualityComparer<WorkItem>
    {
        public bool Equals(WorkItem x, WorkItem y)
        {
            return x.WorkItemId == y.WorkItemId;
        }

        public int GetHashCode(WorkItem obj)
        {
            return obj.WorkItemId;
        }
    }
}
